﻿namespace ClassyBlog.Web
{
    using System.Web.Mvc;

    using DomainObjects;
    using Infrastructure;

    public abstract class ApplicationController : Controller, ICurrentBlogAware
    {
        public virtual Blog Blog { get; private set; }

        public virtual void SetBlog(Blog blog)
        {
            Blog = blog;
        }
    }
}